package org.example.dao.entity.post;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (PReply)实体类
 *
 * @author makejava
 * @since 2023-09-14 09:51:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PReply implements Serializable {
    private static final long serialVersionUID = 987660256497570490L;
    
    private Long id;
    
    private Long senderId;
    
    private Long receiverId;
    
    private Long commentId;
    
    private String content;

    public PReply(Long id, Long senderId, Long receiverId, Long commentId, String content) {
        this.id = id;
        this.senderId = senderId;
        this.receiverId = receiverId;
        this.commentId = commentId;
        this.content = content;
    }

    private Integer isRead = 0;
    
    private Integer isValid = 1;
    
    private Date createTime = new Date();
    
    private Integer likeNum = 0;
    
    private Date updateTime = new Date();


}

